c# nunit initialize variables

104

c# nunit initialize variables -

[TestFixture]
public class MyTestClass
{
  	private int _x;
  
    [SetUp]
    public void Init() {
    	_x = 0;
    }

    // Tests omitted
}

Comments

Submit
0 Comments